Skip to content

[#162163623] Add GET order by id endpoint#59

Open
ipaullly wants to merge 1 commit intodevelop-v2from
ft-GET-single-parcel-162163623
Open

[#162163623] Add GET order by id endpoint#59
ipaullly wants to merge 1 commit intodevelop-v2from
ft-GET-single-parcel-162163623

Conversation

@ipaullly
Copy link
Owner

What does this PR do?

Creates a GET order by id endpoint

Description of Task to be completed?

  • Add view function to pass requested order_id to the models
  • loop through orders list from the database and return parcel that matches the submitted id

How should this be manually tested?

visit the link to the API documentation, https://documenter.getpostman.com/view/4014888/RzZDjd3V.
The GET order by id endpoint returns a response only if the order exists in the database, otherwise it throws an error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant